package io.renren.modules.hos.utils;

import java.util.Calendar;
import java.util.Date;

public class HosDateUtils {

    public static String date(Date date){
        Calendar cal = Calendar.getInstance();
        cal.setTime(date);
        int day = cal.get(Calendar.DAY_OF_MONTH);
        int month = cal.get(Calendar.MONTH) + 1;

        return String.valueOf(month) + "-" + String.valueOf(day);
    }
}
